#ifndef REGISTERWINDOW_H
#define REGISTERWINDOW_H

#include <QMainWindow>
#include <dboperation.h>
#include <QSqlQuery>
#include <QSqlDatabase>
#include <QMessageBox>
#include <QDate>

namespace Ui {
class registerWindow;
}

class registerWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit registerWindow(void(*func)(void *), void *obj, QWidget *parent = 0);
    ~registerWindow();

private slots:
    void on_cancelPushButton_clicked();

    void on_registerPushButton_clicked();

private:
    Ui::registerWindow *ui;
    DBOperation *db;
    void(*lp)(void *);
    void *lpobj;
};

#endif // REGISTERWINDOW_H
